package com.sgcc.statistics.domain;

import io.swagger.models.auth.In;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sgcc.common.core.annotation.Excel;
import com.sgcc.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * OIndexBreakdown对象 o_index_breakdown
 * 
 * @author sgcc
 * @date 2021-04-14
 */
public class OIndexBreakdown extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 年度 */
    @Excel(name = "年度")
    private String year;

    /** 时间段 */
    @Excel(name = "时间段")
    private String period;

    /** 累计注册数 */
    @Excel(name = "累计注册数")
    private Double tRegNum;

    /** 新增注册数 */
    @Excel(name = "新增注册数")
    private Double nRegNum;

    /** 累计绑定数 */
    @Excel(name = "累计绑定数")
    private Double tBindNum;

    /** 新增绑定数 */
    @Excel(name = "新增绑定数")
    private Double nBindNum;

    /** 累计企业绑定数 */
    @Excel(name = "累计企业绑定数")
    private Double tFirmBindNum;

    /** 新增企业绑定数 */
    @Excel(name = "新增企业绑定数")
    private Double nFirmBindNum;

    /** 累计注册数上月未完成 */
    @Excel(name = "累计注册数上月未完成")
    private Integer tRegUndone;

    /** 新增注册数上月未完成 */
    @Excel(name = "新增注册数上月未完成")
    private Integer nRegUndone;

    /** 累计绑定数上月未完成 */
    @Excel(name = "累计绑定数上月未完成")
    private Integer tBindUndone;

    /** 新增绑定数上月未完成 */
    @Excel(name = "新增绑定数上月未完成")
    private Integer nBindUndone;

    /** 累计企业绑定数上月未完成 */
    @Excel(name = "累计企业绑定数上月未完成")
    private Integer tFirmUndone;

    /** 新增企业绑定数上月未完成 */
    @Excel(name = "新增企业绑定数上月未完成")
    private Integer nFirmUndone;


    /** 是否删除(0否，1是) */
    private String isFlag;

    private Double protRegNum; // 全省累计注册数

    private Double protBindNum; // 全省累计绑定数

    private Double protFirmBindNum; // 全省累计企业绑定数

    private String startTime; // 开始时间

    private String endTime; // 结束时间

    private List<String> selectTime;

    private String isCounty; // 是否含县 0否，1是

    // submit状态 1保存 2提交
    private Integer status;

    private String statisticsPeriod; // 统计周期

    private String statisticsTime; // 统计日期

    private String allValue; // 全目标值

    private double currentValue; // 当前指标值

    private double allYearWcRatio; // 全年完成比例

    private double thisMonthValue; // 本月目标值

    private Integer actualValue; // 实际指标值

    private double thisMonthWcRation; // 本月完成比例

    private String type;

    private Double tRegRate; // 累计注册率

    private Double tBindRate; // 累计绑定率

    private Double tFirmRate; // 累计企业用户绑定率

    public Integer getActualValue() {
        return actualValue;
    }

    public void setActualValue(Integer actualValue) {
        this.actualValue = actualValue;
    }

    public Integer gettRegUndone() {
        return tRegUndone;
    }

    public void settRegUndone(Integer tRegUndone) {
        this.tRegUndone = tRegUndone;
    }

    public Integer getnRegUndone() {
        return nRegUndone;
    }

    public void setnRegUndone(Integer nRegUndone) {
        this.nRegUndone = nRegUndone;
    }

    public Integer gettBindUndone() {
        return tBindUndone;
    }

    public void settBindUndone(Integer tBindUndone) {
        this.tBindUndone = tBindUndone;
    }

    public Integer getnBindUndone() {
        return nBindUndone;
    }

    public void setnBindUndone(Integer nBindUndone) {
        this.nBindUndone = nBindUndone;
    }

    public Integer gettFirmUndone() {
        return tFirmUndone;
    }

    public void settFirmUndone(Integer tFirmUndone) {
        this.tFirmUndone = tFirmUndone;
    }

    public Integer getnFirmUndone() {
        return nFirmUndone;
    }

    public void setnFirmUndone(Integer nFirmUndone) {
        this.nFirmUndone = nFirmUndone;
    }

    public Double gettRegRate() {
        return tRegRate;
    }

    public void settRegRate(Double tRegRate) {
        this.tRegRate = tRegRate;
    }

    public Double gettBindRate() {
        return tBindRate;
    }

    public void settBindRate(Double tBindRate) {
        this.tBindRate = tBindRate;
    }

    public Double gettFirmRate() {
        return tFirmRate;
    }

    public void settFirmRate(Double tFirmRate) {
        this.tFirmRate = tFirmRate;
    }

    public double getThisMonthValue() {
        return thisMonthValue;
    }

    public void setThisMonthValue(double thisMonthValue) {
        this.thisMonthValue = thisMonthValue;
    }

    public String getAllValue() {
        return allValue;
    }

    public void setAllValue(String allValue) {
        this.allValue = allValue;
    }

    public String getStatisticsPeriod() {
        return statisticsPeriod;
    }

    public void setStatisticsPeriod(String statisticsPeriod) {
        this.statisticsPeriod = statisticsPeriod;
    }

    public String getStatisticsTime() {
        return statisticsTime;
    }

    public void setStatisticsTime(String statisticsTime) {
        this.statisticsTime = statisticsTime;
    }

    public double getCurrentValue() {
        return currentValue;
    }

    public void setCurrentValue(double currentValue) {
        this.currentValue = currentValue;
    }

    public double getAllYearWcRatio() {
        return allYearWcRatio;
    }

    public void setAllYearWcRatio(double allYearWcRatio) {
        this.allYearWcRatio = allYearWcRatio;
    }

    public double getThisMonthWcRation() {
        return thisMonthWcRation;
    }

    public void setThisMonthWcRation(double thisMonthWcRation) {
        this.thisMonthWcRation = thisMonthWcRation;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIsCounty() {
        return isCounty;
    }

    public void setIsCounty(String isCounty) {
        this.isCounty = isCounty;
    }

    public List<String> getSelectTime() {
        return selectTime;
    }

    public void setSelectTime(List<String> selectTime) {
        this.selectTime = selectTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Double getProtRegNum() {
        return protRegNum;
    }

    public void setProtRegNum(Double protRegNum) {
        this.protRegNum = protRegNum;
    }

    public Double getProtBindNum() {
        return protBindNum;
    }

    public void setProtBindNum(Double protBindNum) {
        this.protBindNum = protBindNum;
    }

    public Double getProtFirmBindNum() {
        return protFirmBindNum;
    }

    public void setProtFirmBindNum(Double protFirmBindNum) {
        this.protFirmBindNum = protFirmBindNum;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setYear(String year) 
    {
        this.year = year;
    }

    public String getYear() 
    {
        return year;
    }
    public void setPeriod(String period) 
    {
        this.period = period;
    }

    public String getPeriod() 
    {
        return period;
    }
    public void settRegNum(Double tRegNum)
    {
        this.tRegNum = tRegNum;
    }

    public Double gettRegNum()
    {
        return tRegNum;
    }
    public void setnRegNum(Double nRegNum)
    {
        this.nRegNum = nRegNum;
    }

    public Double getnRegNum()
    {
        return nRegNum;
    }
    public void settBindNum(Double tBindNum)
    {
        this.tBindNum = tBindNum;
    }

    public Double gettBindNum()
    {
        return tBindNum;
    }
    public void setnBindNum(Double nBindNum)
    {
        this.nBindNum = nBindNum;
    }

    public Double getnBindNum()
    {
        return nBindNum;
    }
    public void settFirmBindNum(Double tFirmBindNum)
    {
        this.tFirmBindNum = tFirmBindNum;
    }

    public Double gettFirmBindNum()
    {
        return tFirmBindNum;
    }
    public void setnFirmBindNum(Double nFirmBindNum)
    {
        this.nFirmBindNum = nFirmBindNum;
    }

    public Double getnFirmBindNum()
    {
        return nFirmBindNum;
    }
    public void setIsFlag(String isFlag) 
    {
        this.isFlag = isFlag;
    }

    public String getIsFlag() 
    {
        return isFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unit", getUnit())
            .append("year", getYear())
            .append("period", getPeriod())
            .append("tRegNum", gettRegNum())
            .append("nRegNum", getnRegNum())
            .append("tBindNum", gettBindNum())
            .append("nBindNum", getnBindNum())
            .append("tFirmBindNum", gettFirmBindNum())
            .append("nFirmBindNum", getnFirmBindNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isFlag", getIsFlag())
            .toString();
    }
}
